package com.qwc.blog.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.qwc.blog.common.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 文章分类表
 * </p>
 *
 * @author qwc
 * @since 2021-10-29
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class Category extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    @TableId(value = "category_id", type = IdType.AUTO)
    private Integer categoryId;

    /**
     * 类名
     */
    private String name;

    /**
     * 排序
     */
    private Integer sort;

    /**
     * 父id
     */
    private Integer pid;

    /**
     * 状态
     */
    private String status;

    /**
     * 是否个人
     */
    private String individual;

}
